var reverse = function (x) {
  if (x < 0) {
    let str = (x + '').substring(1)
    console.log(str);
  }
};
reverse(-123)
let arr = [2, 2, 4, 7, 3, 8]
for (var i = 0; i < arr.length; i++) {
  if (arr[i] % 2 === 0) {
    arr.splice(i,1)
    i--
  }
}
console.log(arr);
let  a = 3
let c = 'A'
let b = new Number(3)
console.log(a===b);